
class HomePersonSummaryInfo {
    int contractorNum;
    int factoryPersonNum;
    int inSideCarNum;
    int inSideStuffNum;
    int outSideCarNum;
    int outSideVisitorNum;

    HomePersonSummaryInfo({this.contractorNum, this.factoryPersonNum, this.inSideCarNum, this.inSideStuffNum, this.outSideCarNum, this.outSideVisitorNum});

    factory HomePersonSummaryInfo.fromJson(Map<String, dynamic> json) {
        return HomePersonSummaryInfo(
            contractorNum: json['contractorNum'], 
            factoryPersonNum: json['factoryPersonNum'], 
            inSideCarNum: json['inSideCarNum'], 
            inSideStuffNum: json['inSideStuffNum'], 
            outSideCarNum: json['outSideCarNum'], 
            outSideVisitorNum: json['outSideVisitorNum'], 
        );
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> data = new Map<String, dynamic>();
        data['contractorNum'] = this.contractorNum;
        data['factoryPersonNum'] = this.factoryPersonNum;
        data['inSideCarNum'] = this.inSideCarNum;
        data['inSideStuffNum'] = this.inSideStuffNum;
        data['outSideCarNum'] = this.outSideCarNum;
        data['outSideVisitorNum'] = this.outSideVisitorNum;
        return data;
    }
}